Skip to main content
请求

curl --location 'https://bot.gs-robot.com/gas/api/v1alpha1/oauth/token'
--header 'Content-Type: application/json'
--data '{
"grant_type":"urn:gaussian:params:oauth:grant-type:open-access-token",
"client_id":"{{client_id}}",
"client_secret":"{{client_secret}}",
"open_access_key":"{{open_access_key}}"
}'
输出

{
"token_type": "bearer",
"access_token": "{{token}}",
"expires_in": 1726111975164,
"refresh_token": "{{refresh_token}}"
}